package com.yuyu.uitlbean;

public enum  MessageCode {
    SUCCESS("成功","1"),EMPLOYEE_NOT_EXSIT("员工不存在","0"),
    FAILED("失败","0");

    private String msg;
    private String code;

    private MessageCode(String msg,String code){
        this.msg = msg;
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    @Override
    public String toString() {
        return "MessageCode{" +
                "msg='" + msg + '\'' +
                ", code='" + code + '\'' +
                '}';
    }
}
